package com.monkeybrother.security.controller;

import cn.hutool.json.JSONUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @Desc
 * @Author houry
 * @Date 2021/1/25 17:49
 **/
@RestController
@Slf4j
public class TestController {

    @GetMapping("test")
    public String test(){
//        UserInfo info = new UserInfo("110101199003079032", "小猴子",17501030012L);
//        log.info("获取的用户的信息为：{}", JSONUtil.toJsonStr(info));
        return "success";
    }

}
